import { reactive } from 'vue';

const state = reactive<{
  /**
   * 今日借阅数量
   */
  todayBorrowCount: number;
  /**
   * 本月借阅数量
   */
  currentMonthBorrowCount: number;

  /**
   * 部门借阅统计
   */
  borrowDeptList: DossierStatistics.Dto[];
  /**
   * 部门借阅chart
   */
  borrowDeptOption: any;
}>({
  todayBorrowCount: 0,
  currentMonthBorrowCount: 0,

  borrowDeptList: [],
  borrowDeptOption: {},
});

export { state };
